import request from '@/utils/request'

// 1、获取NCC仓库信息 - pk
export function getNCCStockInfo(query) {
  return request({
    url: '/select/sto_stock',
    method: 'get',
    params: query
  });
}

// 2、获取NCC库存状态信息
export function getNCCStockStatusInfo(query) {
  return request({
    url: '/select/bill_status',
    method: 'get',
    params: query
  });
}

// 3、获取NCC用户信息
export function getSelectNccUserInfo() {
  return request({
    url: '/select/nccUser',
    method: 'get'
  });
}

// 4、获取NCC-普锐特部门信息，(支持模糊查询)传pk
export function getSelectNccDeptInfo(query) {
  return request({
    url: '/select/nccDept',
    method: 'get',
    params: query
  });
}

// 5、获取NCC物料信息，(支持模糊查询)
export function getSelectNccMaterialInfo(query) {
  return request({
    url: '/select/nccMaterial',
    method: 'get',
    params: query
  });
}

// 6、获取NCC生产厂商信息-code(支持模糊查询)
export function getSelectNccManufacturerInfo(query) {
  return request({
    url: '/select/nccManufacturer',
    method: 'get',
    params: query
  });
}

// 7、获取NCC供应商信息-code  (其他入库新增)
export function getSelectNccSupplierInfo(query) {
  return request({
    url: '/select/nccSupplier',
    method: 'get',
    params: query
  });
}

// 8、获取TMS物流企业
export function getSelectTmsLogisticsInfo(query) {
  return request({
    url: '/select/tms-logistics',
    method: 'get',
    params: query
  });
}

// 9、获取NCC物料信息-code
export function getSelectNccMaterialCodeInfo(query) {
  return request({
    url: '/select/nccMaterial-code',
    method: 'get',
    params: query
  });
}

// 10、获取NCC供应商信息 - pk
export function getSelectSupplierPkInfo(query) {
  return request({
    url: '/select/supplierPk',
    method: 'get',
    params: query
  });
}

//  11、获取NCC用户信息-code
export function getSelectNccUserCodeInfo(query) {
  return request({
    url: '/select/nccUserCode',
    method: 'get',
    params: query
  });
}

// 12、获取NCC-普锐特部门信息，(支持模糊查询)传code
export function getSelectNccDeptCodeInfo(query) {
  return request({
    url: '/select/nccDeptCode',
    method: 'get',
    params: query
  });
}

// 13、获取NCC生产厂商信息 - pk(支持模糊查询)
export function getSelectNccManufacturerPkInfo(query) {
  return request({
    url: '/select/nccManufacturer-pk',
    method: 'get',
    params: query
  });
}